#pragma once
#include <SFML\Graphics.hpp>
#include <SFML\Audio.hpp>
class OptionsMenuScreen {
public:
	OptionsMenuScreen();
	~OptionsMenuScreen();

	void Initialize(sf::RenderWindow* window);
	//void Update(sf::Vector2i mousePos, sf::RenderWindow* m_RenderWindow, sf::VideoMode* vidMode, int& MusicVolume, int& VoiceVolume, int& SFXVolume);
	void Update(sf::Vector2i mousePos, sf::RenderWindow* m_RenderWindow, sf::VideoMode* vidMode);
	void Cleanup();

	//int setMusicVolume(int mVol);
	//int setVoiceVolume(int vVol);
	//int setSFXVolume(int sVol);
	
	int getMusicVolume();
	int getVoiceVolume();
	int getSFXVolume();

	bool isFullscreen;

	bool fromMainMenu;

private:

	sf::RenderWindow* m_renderWindow;

	sf::Vector2i m_mousePos;
	
	sf::VideoMode* m_vidMode;
	sf::Texture OptionsTexture;
	sf::Sprite OptionsSprite;
	
	sf::SoundBuffer TestSoundBuffer;
	sf::Sound TestSound;

	sf::Clock TestClock;

	sf::Texture SliderTexture;
	sf::Sprite MusicSprite;
	sf::Sprite VoiceSprite;
	sf::Sprite SFXSprite;

	sf::Texture FullscreenTexture;
	sf::Texture WindowTexture;
	sf::Sprite FullscreenSprite;
	sf::Sprite WindowSprite;

	sf::Texture BackTexture;
	sf::Sprite BackSprite;
	
	int m_MusicVolume;
	int m_VoiceVolume;
	int m_SFXVolume;

};

